Fixed Password bug on Save

This change fixes a bug where the template database would not get updated because of a warning message returned by MySQL.

Signed-off-by: darrellology <darrellology@users.noreply.github.com>