Easiest way to deal with the problem is to put a bloody smile on your face - I know that some security personnel think that making pilots look small is good sport and yes I know some of the 'frisking' can be a little 'too friendly' but bearing in mind recent events put up with it and get on with the job.