Fork from Jenkins' Bitbucket OAuth plugin. Contains a slight modification to enable the token authenticated call from bitbucket.