Patches for 1.4.13

Other pending patches from the ticket queue

#889
AUTH_TYPE variable for fastcgi
#1103
New proxy method: random

Note: Jakabosky's patch was merged in changeset:1473