Clean up exception handling in `SAML2ResponseResource`.