Amend pass_hash

Rather than reusing a pass hash from an existing machine class, it is much
better to create a new password (and pass hash). And this commit does exactly
that.