refactored PasswordForm constructor to take args parameter instead of explicit parameters