Enable the cookie callbacks to work even in TLS in the apps Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/4435)