updated to clear session in wrap-session-expiry