title: symfony2 FOSUserBundle redirecting wrong
body: <p>I've got FOSUserBundle installed and is working to an extent..  It logs me in, it does everything its supposed to -- except redirect me to the right place..</p>
  
  <p>I have my routes for it setup in my AdminBundle routes.yml file (the very routes from the FOSUserBundle installation documentation on github)</p>
  
  <p>I've created a firewall for it:</p>
  
  <pre><code>security:
  encoders:
      "FOS\UserBundle\Model\UserInterface": sha512
  
  role_hierarchy:
      ROLE_ADMIN:       ROLE_USER
      ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
  
  providers:
      fos_userbundle:
          id: fos_user.user_manager
  
  firewalls:
      admin_area:
          pattern:    ^/admin/
          form_login:
              check_path: /admin/login_check
              login_path: /admin/login
              provider: fos_userbundle
          anonymous: true
          logout:
              path:   /admin/logout
              target: /admin/
  
  access_control:
       - { path: ^/admin/login$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
       - { path: ^/admin/, roles: ROLE_ADMIN }
  </code></pre>
  
  <p>The only problem is, when i go to <a href="http://mysite.dev/admin" rel="nofollow">http://mysite.dev/admin</a> it redirects me to <a href="http://mysite.dev/admin/login" rel="nofollow">http://mysite.dev/admin/login</a> which is correct...  So I then login and it redirects me to <a href="http://mysite.dev/" rel="nofollow">http://mysite.dev/</a> instead of /admin</p>
  
  <p>It's important to note that I've extended the login form to make it look like my own..  by creating in the views folder for my AdminBundle a layout.html.twig to give it a look like the rest of the design for the admin that i'll be using..</p>
  
  <p>Any ideas?  Thanks..</p>