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.
It sounds correct. That would be the 'this' I am seeking. I can't really test that though, so I don't know for certain. I'll change that.