Change the default host from localhost to 127.0.0.1 (see http://12wiki.blogspot.nl/2012/11/why-does-symfony-2-firewall-take-so.html)