The authentication for the rest client was implemented with a custom header called X-AUTH-TOKEN