Cleaner logout handling of the session cookie.