CrazyLogin: some changes for client auto login plugin