Authenticate users using _id and mail.

Transition from using mail addresses in VCCS authentication
to using user _id - in order to allow for authentication with
all (verified) user e-mail addresses.
Remove unused import.