Fix admin-settings.

Basic problem was the requirement that the host-name had at least 3
characters. However, this disabled the possibility to unset the host
name.