fixed password saving
Merge pull request #148 from pajousek/patch-1

Fixed password saving