Fix Consent.State usage in UI test, make local*_ fields private.