Here are the criterias used in order to identify a bad credentials over an error, for each data provider.
401
401 or 404
400 and header "WWW-Authenticate" contains "invalid_token"
response content without element with ID "slots"
400
response without content
401
400
response contains <html or no cookie called "trc_backstage_publisher"
response contains "<html"