Add custom callback in setPassword

Since fields validation are usually done at save time or when calling "register", it could be good to allow password validation at the same time.
The PR simply includes a passwordValidator option with a custom callback.