* got rid of global struct
* got rid of config struct
* renamed compute_headers to compute_auth_headers