Refactor password strength indicator code

Splitting handling of the password and password strength confirmation indicators
over-complicates the code. This change exposes all 'events' to both indicators.
Password strength indicator: bugfix

.. don't show a tick when the password is acceptable and the
password confirmation is empty