password validation for edits
fix functional tests accordingly