Now correctly setting the headers when using the tokenobject endpoint (hoping so...)