Add unit test for ChainedAuthProvider