re #415: added a workaround for links from MS Office products to work with logged users