Support username and password set in URL
urllib does not support to set the username and password in the URL. The URL needs to be parsed to extract them before calling urlopen or urlretrieve. The username and password found in the URL are used unless they are already set on command line.
Signed-off-by: Frédéric Danis frederic.danis@collabora.com