Observing initialization of AppScoped to get the ServletContext.

Fixes #453