In app.config.ts try to change provideHttpClient() to
... provideHttpClient( withInterceptors([]), withInterceptorsFromDi() ), ...
For more info check withInterceptorsFromDi()