code: def login(self, user, passwd):
          '''Logs the user into SecurityCenter and stores the needed token and cookies.'''
          resp = self.post('token', json={'username': user, 'password': passwd})
          self._token = resp.json()['response']['token'f login(self, user, passwd):
          '''Logs the user into SecurityCenter and stores the needed token and cookies.'''
          resp = self.post('token', json={'username': user, 'password': passwd})
          self._token = resp.json()['response']['token']
docs: Logs the user into SecurityCenter and stores the needed token and cookies.