Add ?next support to /logout as well

(untested)