Doctrine 2 authentication adapter for backend