make sure we pass a user profile, not a user (bug 869675)