When switching to another browser, the old Session object must be deinited (if KEEP_SESSION is not set).