Fully switch to id-based determination of user affiliation status.
In this CL we do not compare user's e-mail with enterprise domain to understand if user is affiliated on the device or not. Instead we compare user-affiliation-ids and device-affiliation-ids. If there is an overlap - user is affiliated. This allows us to support cases when enterprise domain may be different from user e-mail (e.g. domain is "school.edu" and e-mail
"someone@student.school.edu").
Because behavior was changed there was a need to fix the tests, that depend on way of affiliation determination.
BUG=
491210
Committed:
https://crrev.com/553ed81a99c6babadab6a0374570bf254983cde5
Cr-Commit-Position: refs/heads/master@{#360065}