An empty passphrase string should enable AUTH_OPEN mode of softAP. This was the behaviour before commit 293e55c. Additionally make the type of checking for empty strings consistent.
293e55c