Fixed the password strength problem in ticket #1407

Fixed the password strength problem which is mentioned in ticket #1407. Now the password strength is shown only after typing 8 characters. Before that it gives instructions to enter at least 8 characters for password.