register the configuration bean with a parent context, fixes #1