test_stamp_pattern: cleanup class scope variable usage

This removes the class variables for keypair and security group
so we don't rely on tight coupling between method calls.

Change-Id: I24149494a42c3c2988c1f6b9ef9b8541ed65dc06
Related-Bug: #1482299
2 files changed