Captive portal not redirecting after succesful login