Update LoginDialog.java

Fixed:outdated use of Constraints. bp changed to ButtonGroup