enables --password-hex feature

fixes https://github.com/tessel/cli/issues/75
Would be cleaner to convert to a buffer in an `else` here, and make `commands.connect` always take a string. It makes the code simpler to keep variables and arguments to a single type where possible.