Let's return JSON.
Adding HTTP Basic Auth support.