Fix readonly-user-count for hosts behind proxies