MDL-43619 Roles: reset_role_capabilities function destroys overrides
MDL-43619 Roles: reset_role_capabilities unit test, cache fix