Added conditional authentication based on RACK_ENV environment variable.

...vironment variable.