Favor the new style of form submission over the legacy form

fixes JENKINS-25533