replace OAuth with Basic authentication flow for OnDemand instances which do not support 2 legged OAuth (2LO)