MDL-65918 auth_oauth2: Require profile library once