Password Option Pane Object

moved the code for password authentication to a new PasswordOptionPane
object which can request the user inputs a password and can also check
the password