Fixed detection of an authenticated user.
Improved error message.
Merge pull request #1 from juanluisrp/80732-sistema-persistencia

[#80732] Stores layerResourceId, layerTypeId and temporal in layer object
Merge branch '8.2-ohiggins-SNAPSHOT' of github.com:luisromangz/sir-geoexplorer-base-js into 8.2-ohiggins-SNAPSHOT
Improves #80732 by calling a new rest method to persist the layers that copies the data in the layer resource
associated to the temporal layer.
Merge pull request #56 from luisromangz/8.2-ohiggins-SNAPSHOT

Improvements for #80732