fixed UserProvider::refreshUser() not checking the class-name
Merge pull request #1239 from sstok/fix-refreshuser-class

fixed UserProvider::refreshUser() not checking the class