Use the UserInterface not the object for checking

This commit fixes a "There is no user provider for user" exception when not using `FOS\UserBundle\Model\User`