This makes it impossible to connect to serial console of VMs through API with token.
Testing code (runs on a PVE host):
from proxmoxer import ProxmoxAPI
client = ProxmoxAPI(
'11.22.33.44',
user='root@pam',
token_name='test-token',
token_value='(the token secret)'...