title: How to develop by faking login to test ACLs in Symfony 2
body: <p>I am developing a part of a web app build on Symfony 2. Like in many apps, authentication &amp; authorization is required. How can I continue developing, taking considerations ACL by passing or faking a login?</p>
  
  <p>In the docs, <code>login_check</code> does the authentication and sessions part transparently. I think I may either need to implement a version of that or somehow call it to login as different users/roles</p>