Fixes #5362 correctly getting user on user plugin settings page