Just found this thread looking for the solution to the original problem.
Answer to the final problem is that URLs have a limited character set. Problem is the "@" in the user name (and possibly characters in the password as well). In a URL "@" needs to be replaced by "%40". 40 being the hex...