Added support for non-templated target proxy names.
Remove os.getlogin() as it doesn't always work.
If a full exception occurs, re-raise it for easy debugging.