updated benjo authentication against multiple realms.