[GEOS-5370] WPS requests fail when performed on a secured layer
Fixing build