Raster analysis on Portal for ArcGIS does not allow a tool to be run on a layer that is resulted from another raster analysis tool and fails with the error, "ERROR 999999: Error executing function. Authentication token required" unless shared with Everyone.
The issue is no longer reproducible in the current version of ArcGIS Pro. Ensure the signed in portal is where the result imagery layer from the first task was published.