Fixed BC break introduced in sf2.2 in UserRepository