Updated for use with HWI OAuth bundle 0.3 and Symfony 2.4