Implement user login class on OpenBSD.

On OpenBSD, users get their login capabilities according to the their
class defined in /etc/login.conf.
Merge pull request #15385 from ajacoutot/obsd-loginclass

Implement user login class on OpenBSD.