The mysterious bug when consuming an Angular library with interceptor