Changed the authentication header from X-AUTH-TOKEN to Authorization: Token.