filter error messages in repository security tests