Merge pull request #243 from egor83/master

Fixing exception when viewing challenge page while not logged in (fixes #171).