APF-1454: Inject UserManager instead of looking up from applicationContext.