integration test: Fix incorrect permissions.

The check for group write permission on the sentry directory was
checking for read permission instead.