Fix dist auth headers

Fixes #293