[WFLY-3566], don't remove jmx resource in config if proper header is unset.