Add test to verify login functionality