Fix autofill on login window #2566