fix password prompt on Windows