convert login dialog to .ui

Change-Id: I775c87422f05552b7283f9c6f7103a72262f764e