Add test for login with registered account