Fix OpenID redirect for gateway register