[PAXWEB-666] - Wrong context classloader for web apps

(cherry picked from commit 9ca94853f822bff4a679f486945ccaee971cf6ff)