A first-half penalty save from Craig Gordon proved crucial as Celtic qualified for the group stage of the Champions League for the first time in three seasons despite losing 2-0 to Hapoel Be'er Sheva.