Bugfix: Login url fetched from login link, not logout link (guess it must have been a typo?).