Extract user and session_key from instance on history receivers

This ensures the user and/or session_key is propagated across revisions.