Fix for FOS UserBundle ver 2.*