def METHOD_NAME(context, email_status, password_status):
    assert_that(email_status, any_of(equal_to('correct'), equal_to('incorrect')), 'unexpected email status')
    assert_that(password_status, any_of(equal_to('correct'), equal_to('incorrect')), 'unexpected password status')
    email = configs.get('email')
    password = configs.get('password')
    if email_status == 'incorrect':
        email = insert_str(email, random_string(1), randint(0, len(email)))
    if password_status == 'incorrect':
        password = insert_str(password, random_string(1), randint(0, len(password)))
    context.auth_response = authenticate(email, password, 401)
    assert_that(context.auth_response['error'], equal_to("failed to perform authentication over the entity"))