'Return the backend as an URI.
Arguments:
include_password (bool): Password censored if disabled.'

def as_uri(self, include_password=False):

    if (not self.url):
        return u'mongodb://'
    if include_password:
        return self.url
    if (u',' not in self.url):
        return maybe_sanitize_url(self.url)
    (uri1, remainder) = self.url.split(u',', 1)
    return u','.join([maybe_sanitize_url(uri1), remainder])
