fix auth_cookie initializer when not running the app for real