Fixing RegenerateTokenAuthTest.