Fixed auth header probagation. Remove header if not needed.

Closes #218 

@rcrichton can you please review when you get a chance?