i didnt want use the web solution! The source i wrote did log in directly. The problem was that the hash of the password will generate every new login or timebased a new hash. So my solution was a pitfall.
The other idea is to kill everytime the launcher.exe, but this work only on xp without uac (or disable it in Vista/Win7, but i wont advice it).