Fix construction of target URL when the OAuth endpoint already contains a query string.
Copy change: s/shell/terminal/.