Move api and oauth base urls to the init ps method so we always have them set during tests