Check for 'None' in argparse password

The code as written wasn't working when I didn't supply a `--password`, it was trying to log in with password as None. It looks like the argparse object had the key for password, it just had a None value, so I added a check for that.