fixed AuthenticationTest