test of login and logout

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>