Fixes #4730, Fixed Auth_ORM::logged_in not working if $role is an ORM object.
Merge pull request #86 from hinton/3.3/develop

Refs #4730, Fixed Auth_ORM::logged_in not working if $role is an ORM object.