Add AuthenticationFailure to connection test