matches method
Whether credentials match the fixture identity.
Implementation
bool matches(AuthCredentials credentials) =>
credentials.password == password &&
(credentials.email?.trim().toLowerCase() == email.toLowerCase() ||
credentials.username?.trim() == username);