Maybe the important thing in my setup is that I am not creating new users, I am migrating old users by name, I have
$wgOpenIDConnect_MigrateUsersByUserName = true;
so the original non-capitalized preferred_username is used for searching for the old user.