Fix OSQA-819: Link to profile in message is wrong if OSQA is installed in a subfolder

Fixes http://jira.osqa.net/browse/OSQA-819