Link a CLI session to the authenticated user

Links a pending CLI session to the currently authenticated user. This is the final step in the CLI authentication flow, where the user enters the code in the web interface and their account is associated with the CLI session, allowing the CLI to act on their behalf.