fix #14, thanks @isgroup-srl

fixes #14 - if password is sent on command line it is never actually set in the code.