Fix load user by oAuth.

Fix #1625.