[liuxia] Add authentication login function.
[liuxia] Add authentication test.