Response handling updates

Update with two improvements to SAML Response handling