Fixed auth header probagation. Remove header if not needed.

@rcrichton can you please review when you get a chance?