Move salt transfer to set_salt() for sha512crypt.