It doesn’t make sense it works on wired bridge mode(AP mode), because the captive portal is nothing with wired.
In this case, are you running any VPN or having enabled Cloudflare DNS on your router?