travis-ci/travis-web — pull request #282 by drogus (2014-05-22 14:30:08+00:00)
Title: Refactor auth code

* don't use __container__
* register it as a factory on container and inject into routes and
controller
* avoid afterSignIn errors by checking on hooksTarget, ApplicationRoute
should register itself as a hooksTarget
* keep user info on auth