workaround for openid reverse proxy redirect issue