SSO login and Jobs::EnsureDbConsistency both fail

Awesome, thanks @tgxworld! Indeed, in both instances with this problem, I do have a group called team. Thank you for fixing this :sunny: