return headers consistently in auth functions
temp fix for problem with puts in Requests.jl, see https://github.com/Keno/Requests.jl/issues/30