Authentication in Jenkins has changed, grrr.

This switches to using the REST API for setting up a new node, since jenkins-cli doesn't support HTTP authentication anymore.