casperjs test case for login