Here is another way to solve the issue. By tweaking the registry.
- Go to search. Type Regedit and press Enter
- On Regedit window, go to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
- Locate this key: dontdisplaylastusername DWORD set the value to 1
- Save the changes and restart your computer, try to check if it resolves the issue.