backport handling of expired passwords in mysqlnd to 5.4