chore(csrf): Updates the CsrfViewMiddleware to delay setting the class attributes from settings until first instantiation.