Fix handling of missing password
Merge pull request #5 from bjeanes/patch-1

Fix handling of missing password