Order pids during auth migration

This will let us batch them consistently if we want to, and lets us track where
we are during the run.