login user after register with desktop application

[finishes #83156646]