Improve user validation

Fixes Graylog2/graylog2-web-interface/issues/759