Add login and logout testcases.