Added a method to ApplicationController to verify the master password entered by the user.
Verify user password at startup and prevent startup of the application with incorrect password.