title: No encoder has been configured for account with fosUserBundle symfony2.1
body: <p>I have this error when I submit the connexion form (I use FOSUserBundle latest version) : </p>
  
  <pre><code>No encoder has been configured for account "MyApp\UtilisateurBundle\Entity\Utilisateur
  </code></pre>
  
  <p>here is my entity : </p>
  
  <pre><code>    &lt;?php
  namespace MyApp\UtilisateurBundle\Entity;
  use FOS\UserBundle\Entity\User as BaseUser;
  use Doctrine\ORM\Mapping as ORM;
  /**
   * @ORM\Entity
   */
  class Utilisateur extends BaseUser
  {
      /**
      * @ORM\Id
      * @ORM\Column(type="integer")
      * @ORM\generatedValue(strategy="AUTO")
      */
      protected $id;
      public function __construct()
      {
          parent::__construct();
      }
  
      /**
       * Get id
       *
       * @return integer 
       */
      public function getId()
      {
          return $this-&gt;id;
      }
  }
  </code></pre>
  
  <p>and here is my app/config/security.yml : </p>
  
  <pre><code>imports:
  - { resource: "@MyAppFilmothequeBundle/Resources/config/security.yml" }
  </code></pre>
  
  <p>and here is my src/MyApp/FilmothequeBundle/Ressources/config/security.yml : </p>
  
  <pre><code>security:
  providers:
      fos_userbundle:
          id: fos_user.user_manager
  
  firewalls:
      main:
          pattern:      .*
          form_login:
              provider:       fos_userbundle
              login_path:     /myapp/login
              use_forward:    false
              check_path:     /myapp/login_check
              failure_path:   null
              default_target_path: /myapp
          logout:
              path:   /myapp/logout
              target: /myapp
          anonymous:    true
  </code></pre>
  
  <p>I followed this tutorial to doing that : <a href="http://j-place.developpez.com/tutoriels/php/ameliorez-vos-applications-developpees-avec-symfony2/#LVI-B-1" rel="noreferrer">http://j-place.developpez.com/tutoriels/php/ameliorez-vos-applications-developpees-avec-symfony2/#LVI-B-1</a></p>
  
  <p>How can I achieve this?
  thank you in advance</p>