select * from acs_magic_objects ;
You'll see that object_id 0 are the unregistered_visitors and -4 is the security_context_root.
select * from acs_permissions where object_id = -4;
grantee_id should be a user_id (that you'll find in the users table as described previously).
You should post more lines of the error.log, BTW.