Handle BASIC auth.