adjust saml-login to mimic login-server in UI. Fix PWS