[BUGFIX] Ensure salted passwords are written to DB