set default values for BasePath and ServerUrl