Templatize lostpass.