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.
Don't need this. You have access to the variable no?