tweaks for encrypted auth.hooks