hobie,
IT is very likely that these were not the on-duty pilots. It is the policy at my company, and at other companies I am familiar with, that the pilots on-duty do not leave the cockpit. On every long range flight we carry more than one crew. These other pilots were probably on their rest break. They could also have been deadheading pilots, although if they were in uniform that is doubtful.