Pass Session object to TerminatedSession callback.

This allows for application level per-session state to be
accessed by the TerminatedSession cleanup code.