PLATFORM-1057: Added support for referrals and authorizations to nodejs client

Added support for referrals and authorizations and fixed errors from cashPrices and providers mocha tests