Behat @javascript test can not login user - incorrect username or password message
It was a pain to track down but I traced it to the Security module.  It encrypts the password field on form submit - disabling the module allows Behat @javascript tests to run fine.