Added check to differentiate between null and blank (empty string) API keys being passed in