title: ZfcRbac does not recognise my logged in user role
body: <p>ZfcRbac does not recognise my Identity role for some reason. I've been on it for hours but it can't seem to get the roles from my identity, which is strange because it can definitely be asked from the authentication service.</p>
  
  <pre><code>\Zend\Debug\Debug::dump($authService-&gt;getIdentity());
  </code></pre>
  
  <p>Above dumps the following:</p>
  
  <pre><code>object(Application\Entity\User)#405 (7) {
    ["role":protected] =&gt; object(Application\Role\Role)#448 (4) {
      ["id":protected] =&gt; string(1) "1"
      ["children":protected] =&gt; array(0) {
      }
      ["name":protected] =&gt; string(5) "guest"
      ["permissions":protected] =&gt; array(0) {
      }
    }
    ["id":protected] =&gt; int(1)
    ["username":protected] =&gt; NULL
    ["email":protected] =&gt; string(35) "hetmfdm_huisky_1437140010@tfbnw.net"
    ["displayName":protected] =&gt; string(0) ""
    ["password":protected] =&gt; string(19) "facebookToLocalUser"
    ["state":protected] =&gt; NULL
  }
  </code></pre>
  
  <p>Now to make sure this is surely the same authentication service:
  zfc_rbac.global.php</p>
  
  <pre><code>    /**
       * Key that is used to fetch the identity provider
       *
       * Please note that when an identity is found, it MUST implements thhe ZfcRbac\Identity\IdentityProviderInterface
       * interface, otherwise it will throw an exception.
       */
      'identity_provider' =&gt; 'zfcuser_auth_service',
  </code></pre>
  
  <p>module.config.php</p>
  
  <pre><code>    'factories' =&gt; [
          'zfcuser_auth_service' =&gt; function ($sm) {
              return new \Application\Authentication\AuthenticationService(
                  $sm-&gt;get('ZfcUser\Authentication\Storage\Db'),
                  $sm-&gt;get('ZfcUser\Authentication\Adapter\AdapterChain')
              );
          },
      ],
      'aliases' =&gt; [
          'Zend\Authentication\AuthenticationService' =&gt; 'zfcuser_auth_service',
      ]
  </code></pre>
  
  <p>In a controller</p>
  
  <pre><code>$authService = $this-&gt;zfcUserAuthentication()-&gt;getAuthService();
  </code></pre>
  
  <p>returns</p>
  
  <pre><code>string(48) "Application\Authentication\AuthenticationService"
  </code></pre>
  
  <p>Where Application\Authentication\AuthenticationService is nothing more than an extend of the Zend Authentication Service and implements the IdentityProviderInterface. Now I know this wasn't necessary but I tried it just to be sure.</p>
  
  <pre><code>namespace Application\Authentication;
  
  class AuthenticationService extends \Zend\Authentication\AuthenticationService implements IdentityProviderInterface
  {
  }
  </code></pre>
  
  <p>All good so far (I think).</p>
  
  <p>OK I had tried to post images but my reputation lacks that possibility. So I'll confirm that Zend Devveloper Toolbar does show all my roles provided by RoleProvider on the right most tab. But at the left most, the identity role is still guest. This is obviously wrong and nothing works because of it.</p>
  
  <p>I'm really stuck here and it's an annoying block because I feel like I am just a small step away of getting my RBAC functional as it is supposed to be.</p>
  
  <p>Extra information:
  I do not use Doctrine. It's a database/mapper system I made myself providing whatever ZfcRbac required of me.</p>
  
  <p>I use ZfcUser and ZfcRbac together.</p>
  
  <p>Versions:</p>
  
  <pre><code> "name": "zf-commons/zfc-user",
  "version": "1.2.2",
  
  "name": "zf-commons/zfc-rbac",
  "version": "v2.5.2",
  </code></pre>
  
  <p>Any pointers or help would be greatly appreciated!</p>