Fixed user initialization in auth code utils

Thanks to Kay Röseler for reporting and providing a patch.

Fixes: #44385