@bobonwhidbey:
It might not look nefarious from your point of view, but from other people's point of view it most certainly does.
What you are effectively trying to accomplish using your method is to 'hijack' the browser after the user logged in. You have any idea how insecure that would be if any program is able to 'take over' a browser session that way ?
It leaves the browser completely insecure and open to any kind of attacks that the program has in mind (or not in your case, but how can we tell ?).
Why are you not able to login using your own lazarus form (asking for username and password), and open a _secure_ session to that site for your own ? Even wget is able to do that for you if you like to refrain from manually managing secure sessions.
in my humble opinion there is absolutely no need for you to attempt to use the users default browser to 'scrape' results from a website. There are far beter tools equipped to do that job, fphttpclient being one of them.
fwiw: my security software prohibits your proposed initial solution by default: no other program is allowed to initiate my browser without permission.