Design and partially hook in the Login dialog.