Support ENV fallback for authentication