[FIXED JENKINS-25533] Favor the new style of form submission over the legacy form

fixes JENKINS-25533