Fix link sharing routing (garg issue #375)

This commit fixes the routing for share URL when the user is connected
to more than one instance.
2 jobs for adinapoli/garg-375 in 23 minutes and 54 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Compile
passed #14247
compile

00:10:40

 
  Test
passed #14248
test

00:13:13