Basic API Security for your Symfony 2 project