code: def _login(self, user='', password=''):
          
  
          logger.debug("ZabbixAPI.login({0},{1})".format(user, password))
  
          self.auth = None
  
          if self.use_authenticate:
              self.auth = self.user.authenticate(user=user, password=password)
          else:
              self.auth = self.user.login(user=user, password=password)
docs: Do login to zabbix server.
  
          :type user: str
          :param user: Zabbix user
  
          :type password: str
          :param password: Zabbix user password