Force basic auth if environment variable is set