making api non singleton (lifted from https://github.com/Sage/zuora/commit/a60f65a029d713d37770257b106fe345a56c2fbd)