[#2035] Refactor new_authz.check_config_permission to not cache things

Otherwise the values can not be overriden from tests
[#2035] Remove uneeded calls to clear_auth_functions_cache()
[#2035] Fix old auth tests
[#2035] Further fixes to auth tests

The old auth tests are terrible in that they depend on each other to
run. Also the auth cache thing masked some bad assumptions.

The whole file should be rewritten as new tests.
[#2035] Don't use http://foo.bar as a test url

Because `.bar` is being recognized as a gTLD, it points to
`127.0.53.53`, which if you have a web server running will return
localhost (and a 200 status).

More details:

https://stackoverflow.com/questions/25662590/domain-foo-bar-points-127-0-53-53-why
[#2035] Improve non-existent URL added on 7d30f7c
[#2035] Split all whitespace when parsing roles_that_cascade_to_sub_groups

Use split() rather than split(' ')
Merge branch '2035-remove-auth-permissions-cache'