Creating a custom HttpInterceptor to handle 'withCredentials' in Angular 6+