This code has been moved to: https://github.com/zapier/zapier-platform/tree/master/example-apps/basic-auth
A barebones app that has shows how to do HTTP Basic Auth.
We recommend using the zapier-platform-cli and
zapier init . --template=basic-auth
to create an app.