Build basic auth header manually

TIL urllib2's auth system is insane.
http://stackoverflow.com/questions/2407126/python-urllib2-basic-auth-problem/2955687#2955687