Fixes to embedding URLs with userinfo part to generated assemblies

Gustavo noticed a bug in checking if the URL is having userinfo part,
authorization credentials. This is done in order not to embed
authorization credentials to the generated assembly.