This is a nice simplification of BaseAuthenticate.