fix openid to work on non-localhost