The function sets the environment variables GDAL_HTTP_NETRC
and GDAL_HTTP_NETRC_FILE
to enable GDAL to use the .netrc file for
EDL authentication. GDAL_HTTP_COOKIEFILE and GDAL_HTTP_COOKIEJAR are also
set to allow the authentication to store and read access cookies.
Additionally, it manages the creation of a symbolic
link to the .netrc file if GDAL version is less than 3.7.0 (and thus
does not support GDAL_HTTP_NETRC_FILE location).