Added Authorization header for the ajax request

The current authentication for ajax request relies on talking to the jolokia backend directly. When Jolokia runs behind a reverse-proxy which requires the `Authorization` header for authentication, the request fails.

This PR adds the `Authorization` header to the ajax request if `username` and `password` options are set.