Fix security tests to use new setup