Fix errors in URL creation when IdP context is bound to / - SIDP-417