CB-8202 Fix gradle build signing when passwords provided interactively