added option to configure auth header name