I'm using the NEHotspotHelper API to authenticate to a Hotspot infrastructure and currently have problems when a Global HTTP Proxy is set via iOS profile. NEHotspotHelper on itself is fine, as is the Global HTTP Proxy. But when using both together I cannot access the local hotspot, as the traffic is routed through the proxy, which does not make sense. This should be handled by the "ProxyCaptiveLoginAllowed" option for the Global HTTP Proxy, but selecting this option for the profile makes no difference at all.
How can I access local hotspot infrastructure from code when using a Global HTTP Proxy? Is there some option I have to specify to URLSession / URLRequest / ...?