Composer requires symfony security

There are some instances where the code throws an 
Symfony\Component\Security\Core\Exception\AccessDeniedException
Also the controllers use it to get the current user.

Without this it's impossible to unit test this.