little generalization to make repositories with username/pwd work, e.g. my.datomic.com