Fix: invalid key in User object validation
Fix: invalid key in User object validation

PasswordLoginUserIdentityType has username, email and id. isValidUserObject() was looking for a 'user' key instead of 'username'

js-accounts/accounts