Bug fixed in SimplePreAuthenticationListener when createToken() not return TokenInterface object

From the documentation : ``http://symfony.com/doc/current/cookbook/security/api_key_authentication.html#only-authenticating-for-certain-urls

``createToken()`` return null or anything but not object of TokenInterface so we need to check before ``authenticate()``