Migrated auth-related model/services code from dul-hydra