[#80564] Only load layersByGroup when there is a user logged.