Use slightly less annoying code to prompt for passwords