You have to make `BetaVoter` a service with the tag `security.voter`.