Updated the SAML login server to support autologin