Password validator, custom validator, etc, bugfixes.