I just see another issue, that `Authorization` will also be set for basic authentication. So i'll have to find a better way anyway. Please don't merge yet.