Use roles instead of realm for logged in users.