World number 15 Angelique Kerber was made to work hard for her 4-6 6-3 6-3 victory over Britain's Anne Keothavong at the e-Boks Open.