Fixed password validation condition.
Setting master password completed (file with master password created). User can login with the masters password he created.