Should we be checking to see if ((password == "") && (apiKey == "")) here?