code: def login(self, username, passwd_hash, webapi_key, country_code=1):
          
          self.client = Client(self.webapi_url)
          self.ArrayOfLong = self.client.get_type('ns0:ArrayOfLong')  # this should be done by zeep...
          ver_key = self.client.service.doQuerySysStatus(1, 1, webapi_key)['verKey']
          return self.client.service.doLoginEnc(username, passwd_hash,
                                                country_code, webapi_key,
                                                ver_key)['sessionHandlePart']
docs: Log in (sets self.token). Returns token (session_handle).