Since Authorizations already implements Iterable<byte []>, can you just do something like:

```scala
val filteredAuths = authsProvider.getAuthorizations.toSet.intersects(auths)
```