[gh-588] Change login/logout link configuration to javascript from link tags.
Merge pull request #589 from tsteiner2/issue-588

Closes #588