Prepare CaptivePortalLogin for system_current

Includes small changes to stop using non-SystemApi endpoints.

Test: make CaptivePortalLogin
Test: flashed, login works, SSL certificate invalid flow works
Bug: 112869080
Change-Id: Ic6ce98942959705ea7ef14a7a62d33e3abf7eb72
8 files changed