Fixed broken refreshing of token due to wrong auth header