Suspending has started to require authentication

My laptop has started to requiring authentication to suspend.
This means that it never suspends automatically when the lid is closed or power is low.
I am currently running 17.10. This was definitely not happening on 17.04
and I do not recall this happening when I first upgraded.
How do I revert to normal behaviour