Remove login check from setCredential