Fixes an issue where permissions may not be correctly loaded on a user.