add user login and logout test case.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>