I'm trying to send queries via the /query.json REST endpoint. This works just fine however if I turn
on authentication I get a 307 redirect to the login page. So I added the HTTP header Authorization: Basic dm9yZGVsOnZvcmRlbA== but I'm still getting a 307 redirect to the login page. Is that normal? Thanks Jean-Claude