Have you tried saving your Cloudflare API Credentials through the command line?
export CF_Email="yourcfemail@gmail.com"
export CF_Key="bdxyz............13"
^ I usually run the above command and if it still doesn't pick the credentials, I would restart the server and paste the export command again.