(bug 30940) Add a hook in User:getDefaultOptions.