Implemented Client#isAuthenticated.
Implemented Client#onAuthStateChange.