fixed issue when fetching dataset fields when using auth