[GEOS-5705] Enabled and advertised flags in the resource will get out of synch with the LayerInfo ones right after GUI editing
GEOS-5711 org.geoserver.security.decorators.DecoratingWMSLayerInfo prefixName method calls itself indefinitely