update ResettingController to be compatible with the FOSUserBundle master

fixes GH-25