Let GET /bannings/:path support specifying an identity to filter on. Also add some tests.