code: def login(self):
          
          resp = super(CookieSession, self).request(
              'POST',
              self._session_url,
              data={'name': self._username, 'password': self._password},
          )
          resp.raise_for_status()
docs: Perform cookie based user login.