Flush CONFIG_PERMISSIONS caching during teardown

The auth config was being cached to CONFIG_PERMISSIONS which caused
the subsequents tests to fail. This change flushes the
CONFIG_PERMISSIONS cache in the teardown function