Updated the config.ru to require authentication based on the RACK_ENV environment variable.