Add basic auth support

Want to be able to run this in preview and get early warning of any
breaking changes before they get to production.