You can try these steps:
- Update Network Drivers:
Go to Device Manager > Network adapters
Right-click your Wi-Fi adapter > Update driver
Or visit Manufacturer’s site to download the latest Wi-Fi drivers for your model.
- Run Windows Updates:
Go to Settings > Windows Update > Check for updates.
Make sure you're on the latest version as some updates fix exactly this kind of sign-in bug.
- Check Sign-In Settings:
Go to Settings > Accounts > Sign-in options
Make sure the "Automatically finish setting up my device" and "Use my sign-in info to auto-finish setup" options are enabled. These help smooth out login after restarts.
- Network Repair Tools:
https://support.microsoft.com/en-us/windows/fix...
Also, since you are back in, back up your important files. This issue doesn't usually cause data loss, but it's a good time to make sure you have a backup, especially before more updates.
Please let me know if it worked or not and I would be happy to assist you further. Thank you!