I cannot login after a migration

Consider you have Site A and Site B and the users differ between the two installations. If you pull from Site B into Site A you will no longer be able to login in with the original user credentials as defined in Site A.

The reason is that Site A’s users have been replaced with Site B’s. The opposite occurs when performing push migrations.