CorsProxy: Send input as group identifier, add tests