public function getLoginObject(ConfigObject $config)
    {
        if (!$this->httpSession()->get('username', false)) {
            $this->triggerLogin($config);
        }

        $username = $this->httpSession()->get('username', '');
        $password = $this->httpSession()->get('password', '');

        return new Login($username, $password, false);
    }