Check password for 8 characters, 1 uppercase, 1 lowercase and 1 number

Custom field related changes are unrelated to this pull request, please remove.