More than 1,300 people were arrested by police during an unsanctioned protest against ballot restrictions.