The case brings out continuing deficiencies in the functioning of the counter-intelligence divisions of the CIA and the FBI, writes security expert B Raman