(PUP-3723) Add new loginclass parameter to user type

I will check tomorrow wether it'll still work with older versions.

Also, I'm aware of that and an unneeded part of my commit was reverted. I've verified it doesn't affect the workings of this code in Puppet.