Fix UserProvider related to #9