Improve password validation unit tests.
Rename some validation unit tests.
Fix security unit tests.