Fix favorite post when not logged in.