basic auth

Adds optional basic auth to the application using ENV vars.