P4 backend authentication fixes