workaround to not have CXF try to create the application instance but pass in one