If the user export/import process is done separately, you will need to re-associate the users with their proper course IDs.