[PATCH] Fix display of weak password warning (#1011850)