Use standard hash function during installation procedure

For some reason, there was an extra function for hashing the password of the initial user. Replace it with the standard hash function.