CC-4910: Need to properly handle non-200 http status codes in api client

-fixed
Merge branch '2.3.x' of dev.sourcefabric.org:airtime into 2.3.x