Use preferred provider on first run. Closes #5813.