fix authentication bug for weixin website