GTNSSO-22 Fix possible CAS exception during logout