This code has been moved to: https://github.com/zapier/zapier-platform/tree/master/example-apps/custom-auth
A barebones app that has shows how to do a custom authentication scheme of using an API Key in the query parameters.
We recommend using the zapier-platform-cli and
zapier init . --template=custom-auth
to create an app.