Ask for password if not provided

Original patch from: Tony Yang <tonyyang132@gmail.com>
Fixes pull #3.