Revert "Revert "http basic auth if ENV['BASIC_PASSWORD'] is present""

This reverts commit 60cea856789af9d002031344582de0efafd0955b.