Rest Client auth/autoriz first implementation