if api.config.general.grantForumAccess !== true, do not check activeForu...

if api.config.general.grantForumAccess !== true, do not check activeForumCategoryId param, and this will also fix the failed mocha test.