But when doing it outside the order of registering the service providers is important.
When registering the FormProvider after the WebProfilter it will not work.