Improved reliability for authentication tasks

This update improves the reliability of our authentication system by ensuring that any interrupted or canceled migration tasks are now handled correctly during scheduled background operations.

**Smoother authentication experience**
By adding these migration cancellations to our automated routines, the system can now better manage unfinished processes without causing hiccups or delays in your login and access.

This change means fewer interruptions and a more consistent, trustworthy experience when using the app, especially during authentication-related operations.