Created RestClient wrapper ApiRemoteRequest to handle back-end authentication failures gracefully.