it's not that login is failing, it's that the success redirect is empty in the authenticate user behavior.
"successRedirect" => "",
"failRedirect" => "login.php?failedLogin=1",
open the server behaviors panel, double click the authenticate user behavior and set the success redirect.