Fix issues when trying to use Session.temp()

If `Session.temp()` is called without a previous session having been activated, the explicit attempt to read the `X-Shopify-Access-Token` header from the headers dictionary raises a `KeyError`. Similarly, `__prepare_url()` doesn't handle cases where the `url` may be `None`.