Implementation of a Lambda@Edge function for providing basic authentication for CloudFront distributions.