[#JENKINS-17334] Fix support for gh-ent token generation.
Merge remote-tracking branch 'christianchristensen/JENKINS-17334'
change version of github-api-plugin tu 1.42