@Override
            public TokenInformation token(String tokenId) {
                TokenInformation baseTokenInfo = super.token(tokenId);
                long thisLifetimeMs = System.currentTimeMillis() + tokenLifetime.apply(++callNum);
                return new TokenInformation(baseTokenInfo.tokenId(), baseTokenInfo.owner(),
                        baseTokenInfo.renewers(), baseTokenInfo.issueTimestamp(), thisLifetimeMs, thisLifetimeMs);
            }
Tests SASL/SCRAM with username containing characters that need
to be encoded.
clients/src/test/java/org/apache/kafka/common/security/authenticator/SaslAuthenticatorTest.java