I wonder how much overlap there is between people who accept the justifications you describe, and people who claim that it's perfectly fine to persecute and torture Julian Assange because "he endangered US informants".
However, I think it's useful to look at this with a more objective lens in that these CIA employees are doing a job and that they also report to somebody and what that bog-standard relationship looks like. I think understanding how that fairly boring dynamic works in every federal agency may possibly help explain the behavior you're observing more than anything. There's really no great mystery to it.
That doesn't mean that people's shock and disgust of the institution is naive or uninformed.