Add login functional testing