Test login error in server