logging to find error in auth header