Improves checks for some api key settings