Fix password generation in install script
This closes #231