Fix broken URLs from calling applications
Merge pull request #1296 from mortenn/master

Fix invite url breakage in third party applications