Avoid 404 on faster machines and connections

Add a retry with 1 second sleep before it when get a 404 on reading an
entity. Some API tests are failing due to 404, but when accessing the
URL the entity is returned without any problems. This was not possible
to reproduce locally, had to run on the Jenkins slave which is faster
and have a faster connection to the Satellite server.
Merge pull request #1489 from elyezer/entity-read-retry

Avoid 404 on faster machines and connections
Clean up some tests in module test_role_v2

The only non-stubbed tests that use the old API tools are in module
`test_permission`. Those tests interact heavily with the `/roles` API URL, and
they will likely be ported to module `test_role_v2`. In preparation for this,
clean up module `test_role_v2`.
Merge pull request #1488 from Ichimonji10/test-role

Clean up some tests in module test_role_v2