More tinkering with captive portal.
Captive portal seems to be working