Apply scrypt on deserializing registration.