create random password on each run if NISE_PASSWORD not supplied

Offered for your consideration. I've mostly copied and pasted from elsewhere, so feel free to modify or ignore...