Changed the behavior of auth so that the authenticator could report an
error