I am not sure if this is intended interaction but the "Rallied" buff that is given during the first goblin fight at the gate (when the fella blows the horn and rallies everyone) has a bad interaction with other temporary hit point spells. The rallied buff gave all my characters ""more hp" which I believe was 8 temporary hit points for 4 rounds. My warlock had Armor of Agathys on him, giving temp hp as well, so the rallied overrode the armor of ahathys and he lost it (which in 5e you can't have two sources of temp hp so this makes sense). However I then got hit for lots of damage, lost those 8 temporary hit points and tried to protect myself by casting Armor of Agathys again to give me a new 5 temp hp the frost damage explodes. However I still had the "rallied" buff so when I cast the Armor of Agathys spell it did nothing, no more temporary hit points (even though I was at 0 temporary hp). This did not seem like the intended effect.
I have not done any other testing with other forms of "target gets temporary hit points" but it may affect other cases temp hp as well.