Courtesy of @mikldt, change CAS link to work on all app pages, not just the front page