Final bugfix for password hashing and password editing