Two tiny patches are attached:
1) The bcrypt invocation for password-generation in the comments uses "echo" which appends a newline to the password before hashing, creating a different hash than intended. This patch fixes that.
2) I also fixed a typo with my name while I was at it ;-)