SSO session logging cleanup
Introduce cache with TTL.

Avoid memory leakage by turning the TicketCache into ExpiringCache.