Fixes #10 of DatabasePrincipal not checking against users groups.