Add policy rules for SAML 1 SSO and SAML 2 Bearer confirmation, with unit tests.