Fix bugs allowing access to viewer as anonymous user
Merge branch 'no_login_viewer'

* no_login_viewer:
  Fix bugs allowing access to viewer as anonymous user