Make getAuthenticationSourceByType case insesitive