make sure initial location is set when cookies are disabled