Fixed hashing passwords on save