When constructing a git url for a project, urlquote the username
and password component, taking particular care to escape '/' which
is not quoted by default in urllib.parse.quote (it is the only
'safe' character by default, but it's not safe here).
Change-Id: Ia7515acc63e7258e327948bfa621cccd60491baa