Added withCredentials to every protocol call.