Fix ITpro issue that crash when need login.