Fix issue #150 of FOSOAuthServerBundle