improve LogoutHandler for CAS