What specifically does your friend do to piss you off?
With the TSA he likes to derail the process (unless he's short on time). Not just asking for a pat down rather than the scanner (if I gave myself more time at the airport I'd likely do the same), but to the point of abusing the worker rather than making the system itself slow down. Also, he has little regard for those behind him in line, and doesn't mind delaying them a few minutes so he can feel better about himself.
As I haven't spent much time with him (physically parted ways after college) the past few years I can't really recall any more specific incidents, but it was a reason that, in college, it took us about 6 months to become friends. I thought he was a jerk, and I was right, he just happens to be a good friend as well.
I've worked in service industries (of which I'll lump in TSA and Customs officials for now) and have been on the receiving end of it, polite or cordial people are welcome to talk about their experience, but then you get people like a friend of mine that would rather make them feel miserable about what they do for a living (the reason I can only take him in small doses these days).