I guess it could be a deal where, if you've not so far logged in (to any open app) with an account required for the new program you are trying to log into, then it would prompt you to log in, and store that new info.
Of course, any time you try to make it easier, you increase the odds of making bad mistakes. If you walked up to a limited user's machine (as an admin) and ran a program that prompted you for admin rights, you would immediately elevate that machine to your account level. If you then walked away, that user would still have your administrative rights, even if you closed the app you were using. He could just start it right back up, because you've raised that machine's rights.
All these things have to be dealt with. It's stupidly easy to make simple mistakes that make the security system useless, or put the all of the onus on the user to never make a mistake, whereas just requiring a login avoids all those possible issues.
If you know of other (multi-user, networked, multi-application) tools that do this, how do they work?