Fixed some authentication testing