vcl session: refactor passing of crypto context