Do not store the redirected URL in the config file.

Because it may be a temporary URL.
Especially anoying in captive portal

Fix issue #368