Thanks for sharing this!
It does not work for me. I can add new usernames and it correctly relaunches Steam when I use the "open" button.
But then, it will set the username as my Windows user and never remember the password (I believe that if it can't use the correct username it won't be able to reach the saved password).