change get_all_security_groups to use filter

Using list of names only was causing errors with VPC as it doesn't allow
that usage (list of names is classic only).