fixed login bug for admins with no assignments
Merge branch 'hotfix-4.2.4'