Add login / logout tests
Remove common warning