Fix authorities deprecations