[PATCH v2] also force TLS when requiring user authentication in WebUI