Added auth_token and headers support