Fixing regular expression for password complexity so it is the same we have for TM 3.5.
Fixing unit test.