Extract tenantId and userName from HTTP headers and set them as ThreadLocal object
Update dependency to core api
Simplify handling of CloudEntryPoint