While I believe the airport personnel have the authority to ask to see a Pilot's licence
No more authority than a car park attendant asking for your driving licence.
Unless it's changed since I did my training 40yr now only a "Constable or other authorised person" were the the only people allowed to demand to see it.