change authentication settings from GLOBLE vars to ENV vars