skip security tests if libsodium is unavailable

closes #479