Add redirect on login and logout confirmed calls

* Configurable redirect after logoutConfirmed is called.
* Confgiurable redirect after loginConfirmed is called. Added this back so it can be unit tested outside of the login function.
* Fixed some lint errors - found a no-no issue with server.apiRoot being used by the authInterceptor. This will need to be addressed.
Recommended change to remove use of 'that = this'
Merge pull request #1 from EQCO/ajiggerortwo

Redirect on login and logout confirmed calls