The daemon hands the browser `http://127.0.0.1:<port>/#t=<token>`. The token is read once, stored through the connection store (so the `pi2-connection` marker is set too and a fresh browser does not bounce to /connect), and stripped from the address bar and history while the query string survives.