Fix to session expiry.