Fix until clause in groovy WebAppIntegrationTest to return boolean

0.5 branch version of #690