Allow empty password

Changed the regular expression to allow for empty passwords.