Members of a pro-democracy organisation have been detained under a controversial security law.