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

Yes, that's why I updated the commit with the `begin`/`rescue` block to nicely catch any undefined method that might be called.