Support multi-tenanted APIs, don't cache base_path.
Merge pull request #181 from dblock/dont-cache-base-path

Support multi-tenanted APIs, don't cache base_path.