Uses login.js both for local and saml logins