SERVER-9517 SERVER-6246 Make 'hasRole' and 'canDelegate' fields in roles array optional