This was undoubtedly a pilot, albeit perhaps not in uniform, or other cockpit-qualified personnel (think "FAA"). I have seen an occasional jump seat rider who wanted to spend some time with colleagues, or even have given up an assigned seat to the airline could carry one more paid passenger.