A commissioning loophole let departments spend millions.