Added support for phase parameter in the federated auth plugin
Merged 956fd97, in FK Moonshot protocol used username from SAML assertion