Strip trailing whitespace
Use secure password

We really want to protect this from accidental
guessing.
Merge pull request #124 from dirkmueller/security

Security