Create user in Drupal 8 but password not working
I try with you code, I not see any problem and work for me (drupal 8 beta7).

$authData['name'] = 'testuser';
$authData['pass'] = 'testpass';
$authData['mail'] = 'sss@test.com';
$authData['status'] = 1;
$account = entity_create('user', $authData);
$account-&gt;save();


Note that user and pass are different when you try to log in

user: testuser

pass: testpass

That drupal 8 version are you using?