[#70561992] Refactored client to let the authorization method be configurable for development