One of the most helpful tools I’ve come across to help debug client-server problems with HTTP applications is cURL. It handles SSL, BasicAuth, POSTs, and just about anything else you can think of when sending data from a client to a web application server. When you need to send carefully crafted HTTP requests and look in detail at the responses, it is a flexible and powerful tool. I use it from the command line. Consider adding it to your toolbox.