common/cpt: check cipher and auth keys are set