I have written a HttpInterceptor to add a token to HttpRequest header. It works fine when I have a API that just returns a static string for token. But as soon as I swap that fo