If Private Key is chosen, password will be used to decrypt the Private Key if it is encrypted, otherwise used as the password of username.