Remove private object from login test