Pluggable password quality-control module