Change security rules to deal with login modules properly
Inc version: