Updated java example to move principalID and principalIDNS to the Authorization Header