[FIXED JENKINS-17929] Pick up transport authentication from groovysh command, by overriding run rather than main.