Fixes: #2066 uidNumber not update when create user by using a template