Removed else-case.
Make use of interface_exists for determining the used FOSUserBundle version.
Removed setting of the parameter and changed the injection of the service to the actual service-id.