[PATCH v2] redirect to TLS WebUI if authorisation required