Fix login form ajax.