hi, the issue in the first post looks like a bug, would you mind opening one on https://bugzilla.proxmox.com with the logs and relevant info to reproduce (configs, storages, etc.)
the error in your second post is not really a bug, even if you use root@pam for pdm, it will create a token to...