Unfortunatly, when I tried to log on, UserProvider execute the findOneBy function and I got an error from the ProxyFactory which fails on the userialize operation at line 180.
[2017-03-07 21:16:04] request.INFO: Matched route "login_check". {"route":"login_check","route_parameters":{"_route":"login_check"},"request_uri":"http://localhost/pokesphere/web/app_dev.php/login_check","method":"POST"} []
[2017-03-07 21:16:04] security.INFO: Authentication request failed. {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AuthenticationServiceException(code: 0): Warning: Erroneous data format for unserializing 'neo4j_ogm_proxy_PokeSphereBundle_Entity_User' at C:\\UwAmp\\www\\pokesphere\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Security\\Core\\Authentication\\Provider\\DaoAuthenticationProvider.php:94, Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Erroneous data format for unserializing 'neo4j_ogm_proxy_PokeSphereBundle_Entity_User' at C:\\UwAmp\\www\\pokesphere\\vendor\\graphaware\\neo4j-php-ogm\\src\\Proxy\\ProxyFactory.php:180)"} []
[2017-03-07 21:16:04] security.DEBUG: Authentication failure, redirect triggered. {"failure_path":"/login"} []
[2017-03-07 21:16:08] request.INFO: Matched route "login". {"route":"login","route_parameters":{"_controller":"PokeSphereBundle\\Controller\\SecurityController::loginAction","_route":"login"},"request_uri":"http://localhost/pokesphere/web/app_dev.php/login","method":"GET"} []
[2017-03-07 21:16:08] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2017-03-07 21:16:09] request.INFO: Matched route "_assetic_4be3d33_2". {"route":"_assetic_4be3d33_2","route_parameters":{"_controller":"assetic.controller:render","name":"4be3d33","pos":2,"_format":"css","_route":"_assetic_4be3d33_2"},"request_uri":"http://localhost/pokesphere/web/app_dev.php/css/4be3d33_part_1_ie10-viewport-bug-workaround_3.css","method":"GET"} []
[2017-03-07 21:16:09] request.INFO: Matched route "_assetic_4be3d33_0". {"route":"_assetic_4be3d33_0","route_parameters":{"_controller":"assetic.controller:render","name":"4be3d33","pos":0,"_format":"css","_route":"_assetic_4be3d33_0"},"request_uri":"http://localhost/pokesphere/web/app_dev.php/css/4be3d33_part_1_bootstrap-theme.min_1.css","method":"GET"} []
[2017-03-07 21:16:09] request.INFO: Matched route "_assetic_4be3d33_3". {"route":"_assetic_4be3d33_3","route_parameters":{"_controller":"assetic.controller:render","name":"4be3d33","pos":3,"_format":"css","_route":"_assetic_4be3d33_3"},"request_uri":"http://localhost/pokesphere/web/app_dev.php/css/4be3d33_part_1_jumbotron_4.css","method":"GET"} []
[2017-03-07 21:16:09] request.INFO: Matched route "_assetic_4be3d33_1". {"route":"_assetic_4be3d33_1","route_parameters":{"_controller":"assetic.controller:render","name":"4be3d33","pos":1,"_format":"css","_route":"_assetic_4be3d33_1"},"request_uri":"http://localhost/pokesphere/web/app_dev.php/css/4be3d33_part_1_bootstrap.min_2.css","method":"GET"} []
[2017-03-07 21:16:12] request.INFO: Matched route "_assetic_b98a068_0". {"route":"_assetic_b98a068_0","route_parameters":{"_controller":"assetic.controller:render","name":"b98a068","pos":0,"_format":"css","_route":"_assetic_b98a068_0"},"request_uri":"http://localhost/pokesphere/web/app_dev.php/css/b98a068_part_1_for_1.css","method":"GET"} []
[2017-03-07 21:16:14] request.INFO: Matched route "_assetic_b98a068_2". {"route":"_assetic_b98a068_2","route_parameters":{"_controller":"assetic.controller:render","name":"b98a068","pos":2,"_format":"css","_route":"_assetic_b98a068_2"},"request_uri":"http://localhost/pokesphere/web/app_dev.php/css/b98a068_part_1_var_3.css","method":"GET"} []
:[2017-03-07 21:16:14] request.INFO: Matched route "_assetic_0b1b56d_1". {"route":"_assetic_0b1b56d_1","route_parameters":{"_controller":"assetic.controller:render","name":"0b1b56d","pos":1,"_format":"js","_route":"_assetic_0b1b56d_1"},"request_uri":"http://localhost/pokesphere/web/app_dev.php/js/0b1b56d_part_1_main_2.js","method":"GET"} []
[2017-03-07 21:16:18] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_controller":"web_profiler.controller.profiler:toolbarAction","token":"75b3c3","_route":"_wdt"},"request_uri":"http://localhost/pokesphere/web/app_dev.php/_wdt/75b3c3","method":"GET"} []
I tried to understand the problem with xdebug and correct it by myself. The Proxy class was correctly generated and all variables were correct (I guess). I tried to replace the unserialize function by a new instance of the Proxy class. Now the connection work but unserialization of the user session object (by symfony) fails...
I'm probably missing something... or I'm just off with the fairies...
Fell free to fork/download it (consider the "robin" brach).
Thank you in advance for your help.