support cookies when expanding short URLs