Compat fix for SimpleSAMLPHP which breaks the SAML spec (grumble)