Improve auth_headers to allow params like the content-type