Migration to remove old users without email or uid

Keeps users who have editions published/pending/archived.

Keep important bot users

Also removing users with nil permissions

Could not just use sso email list as some users are duplicated (clean up would be needed) and some users are bots, but by checking on the uid we should be clearing most old users.