Modernize the credential manager tests
Review Request #3370 — Created Aug. 8, 2024 and submitted — Latest diff uploaded
This mostly means using g_main_context_iteration rather than a full blown event loop. There were also updates to the implementation to handle the core not being initialized.
Ran the credential manager tests under valgrind, called in the turtles, and ran in the devenv, changed the provider, restarted and verified it was saved.