@mariant,
Very sorry that I cannot help more. It depends on how the captive portal is implemented. I cannot tell the reason.