Fix translation detection for login failed string.