add branding_settings to channels, and fix tests
add api error base handling