Restrict third-party plugin access to authentication services (cherry picked from commit e78d89ee2a)
e78d89ee2a