Builds a URI for the metadata using the username and password set for the remote.
a Remote
a URI, or null for error