Add support for SAML SP ACS metadata publishing.

I've added a feature that allows publishing of the SAML SP ACS metadata to ease configuration on IdP side. Also fixed some broken tests.