Fix entering username twice during registration.