Updated UserProvider tests to load by username instead of ID.