Bug #2982: fix onedb import-slave to take into account deleted users

(cherry picked from commit 701247a62675ebe296e8f7685b66c095b3a73a67)