OC-2541: Adapt the code the new saml implementation. Get the username from OCS-API