Remove workaround for misbehaving slash validation in cache key

We currently workaround a misbehaving slash validation for the cache key in multiple templates. We'd like to remove this workaround asap.