Fix logout link on iOS. Closes #332.
Merge branch 'iphone-click-event-332'