Test for setting access token via header.