Fixes #2303: support setting basePath and baseUrl as aliases during runtime.