Remove mailhost logic from register template.