Resolve issue where 404 would not work for logged-in user's Gistbooks.

Resolves #267