async fn make_session(cfg: &EnvVars) -> Result<Arc<Session>>
Construct a session based on the given configuration.