cmp_ok($mech->form_name('login'), '==', undef, "Logged in correctly. Page no longer shows logout option.");