Do you think this post can help ?
1 .Captive portal is enabled at the B305 VLAN 2. While the AP just bridge different SSID to VLANs for the captive portal service.