Periodic points hook: hook into 'init' instead of 'set_current_user'

Fixes #14