Fixed a bug that caused a stacktrace when viewing a project when not logged in.