Refactored JFXLoginDialog