preauthuserdbcommon.c: Move token-getting code to below callback.