Use basic HTTP authentication

Use basic HTTP authentication instead of passing username in JSON data.
Log JSON post data.