Added authentication dialog.