protected function expireAuthentication(Url $url)
    {
        $session = $this->session;
        $session->remove('_security_' . $url->getOption('firewall'));
        $session->save();

        $this
            ->client
            ->getCookieJar()
            ->expire($session->getName());

        return $this;
    }