made authn redirect relative to host