fix user unable to sign up by application and github