Always ensure that session->cipher is set