When trying to access FTP anonymously using squid 3.1.0.9, it always replies with 401 Unauthorized. The bug was fixed in 3.1.0.10, so I think the best solution would be to do the version bump.
Created attachment 199626 [details, diff] Diff to bump squid version to 3.1.0.12 I've left old patches (they apply fine), added DEPEND required to get tests working and removed RESTRICT=test as they do fine.
Fixed in 3.1.0.13.