Added basic authentication support for nginx

I've added support for basic authentication in the proxy_nginx recipe. It's virtually identical to the implementation in the proxy_apache recipe.