Add context processor for sessions.