Batch mode breaks password input