Patch realname_registration for name module support