Fixes #12; specifying an API base actually changes the base for API server