fixes httpRealm being ignored in itemMatchesLogin; cleanup