Add in store code for store switching if enabled

Store switching fails with store codes when using different url keys because it doesn't allow for store codes when setting target url.