Replace network decorator with with_connectivity_check

Network decorator was ignoring test failures due to API changes in external
services.

Closes #5816.