loginDialog: Provide a finish method

The screenShield expects to be able to call finish on the dialog.
loginDialog: Remove useless style class manipulation

StWidget already does this for us.