view control in login window was cleared on deinit rather than on unload. fixes #13813.