Move authenticator to its own file.