Fix social link bug (user can link account, but can not login through linked account)