Implement HTTP basic authentication for API endpoints.
Exit jobs immediately on Heroku restart.

See https://github.com/collectiveidea/delayed_job/commit/90579c3047099b6a58595d4025ab0f4b7f0aa67a
Add API environment variables when executing benchmark commands.