Default to the public API.

If the `api_uri` configuration option is not set, default to the public API.