Using EM (Expectation Maximization) algorithm for Training Logistic Regression
Use Algorithm 1 from this paper. The rest of paper is more about the analysis of algorithm and theoretical background which is very nice but not necessary for your purpose. Implementation of the algorithm in Python or R is pretty straightforward.

Hope it helps :)