Use allow_access helper method

This helper method creates an access rule, waiting for it
to be active and delete it at the end of the test.
By using this methos we can reduce lines of code.

Change-Id: If1712cd412d236901232f9a2537f88d775f7d9f1
6 files changed