DEVELOPER-697, DEVELOPER-698 allow passing site.base_url