Only run memcached tests if server is available.

Refs #6074 (partial fix)

@DeepDiver1975