Handles URIs sent back to the extension after OAuth authentication flow.

Specifically listens for the /auth-complete URI, extracts the user token, fetches the user, and updates the authentication context.