Added basic HTTP authentication for staging and production environments.