Refactoring FosUserBundle configuration