SAML Federation - Failed to Sign Assertion. Unmatched braces in the pattern