session: fix typos & cert_key store init