Missing dependency for patching User model.

This issue is tracked on redmine-gitolite at https://github.com/ivyl/redmine-gitolite/issues/48 and on redmine at http://www.redmine.org/issues/11035.