fix openid auth bug