Restore ability to configure base_url

Apparently the mocking PR hard-coded the base url.  This provides the same default value with the ability to override it.