This is an annoying bug that hasn't been addressed in the two and a half
years it has plagued Ubuntu with the Xfce desktop. One can find bug
reports going back to 14.04 after a faulty patch broke suspend.
Fortunately for the terminally-skilled among us, the workaround is here:
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Authentication is required for suspending the system
To manage notifications about this bug go to:
ubuntu-bugs mailing list