Better mysql reset password handling.