Limit max number of characters for password to 72

Prevent DoS attacks via a large $password input

Signed-off-by: Shitiz Garg <mail@dragooon.net>