[1.5.x] Fixed #21294 -- Clarified the logout next_page argument.

Thanks wim at go2people.nl for the report.

Backport of 51e6575472 from master