Fix a bug when logging out from the `new` entry page.

It’s actually a bug with the handling of `/:username/new` route.