Use inline_template to generate a random password