fixes #2639 After creating user with empty e-mail it becomes impossible to add it.