Fix #953 Close session properly

For the record see https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Http/Logout/SessionLogoutHandler.php