Move algorithm for fuzzy matching out of PasswordService.
Highlight the matched parts when searching.