It's very naive to think that Obama, or any president, didn't demand loyalty from those under him.   And Comey was in an office under the Executive.

Progressives seem to think that the FBI is a totally sovereign and independent branch of government.   

That idea was supposed to go out with J. Edgar Hoover.