Rename authResolver to promiseLoggedIn.

Also, this is really a factory rather than a service.