Login window

This is for Worklist job #19598: https://worklist.net/19598

The main task was to implement a new login window.