Fixed refreshing of access rights if the user is logged in after the engine starts.