Fix form submission issue if logged in

Showed up in https://github.com/skalnik/print-queue/issues/37.