ok, sorry just checked your first commit! cool this also fixes an open issue which i did not have time to investigate (but you should have described a bit better the purpose of your pull request : this includes more than just being able to set the auth header!).

I'll merge when the coding style is fixed!
thanks!