Web UI: add support for AD users. Refs #2958
config template: avoid warnings. Refs #2958
config template: allow Active Directory users.  Refs #2958