vtiger_portal_authenticate() sets an error message if the soap client returns an error. Afterwards the user_login_final_validate() function runs and it sets an error about there being a wrong username or password. I haven't been able to find a way to silence the second error.