Properly reset group permissions in EntityContentTest

This will (I'm 99% sure this time) fix the remaining
problems we see with travis.

Change-Id: Ic40f273332e1c1fdeffbb7bbfc4d11e77f2c0827