Fix MinimalPortalUserAuthProvider recently introduced bug.