OC-1029: add an extra condition to check of redirection. Check if LocationUrl contains SAML or wayf