REST API with SAML enabled authentication