Following is the hlml of the login form that I have
Hmmm.. Follow that with:
casper.then(function () { this.evaluate(function () { $('form#user-login').submit(); }); });