configure/czmq/zmq: check for authentication-related functions available

this tests both the czmq and zmq libraries.