Working REST client SAML authentication