backend: fix token validation
backend: fix token validation

This seems to have changed due to an SQLAlchemy upgrade because the same
query logic worked half a year ago.

Signed-off-by: Marco Neumann <3829486b93ec44395f0b980424bae9b6fb07b7bc@crepererum.net>

spz-signup/spz-signup