protected function doRequest($action, $params = array())
    {
        if ('common-info' != $action && 'login' != $action) {
            $this->checkIfIsConnected();
            $this->checkIfIsLoggedIn();
        }

        if ($this->cookie && ! isset($params['session'])) {
            $params['session'] = $this->getCookie();
        }

        return new Response(new Request($this->config->getHost(), $action, $params));
    }