fix password restore templates (CST-612)