Fix for the mariadbchk template to handle special characters in the password.