Example implementation of AccountAuthenticator.