Add unit tests for credentials_factory and mark it stable for plugins. This is part of the work to make tempest/test.py stable for plugins. Change-Id: I99414cb2704ce5469fcb66406b6905e2d1871dba