Fix issue #150 of FOSOAuthServerBundle

https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/issues/150