Make sure it is more clear to add the constants to wp-settings.php or create a admin interface for it.
It would be better to use oauth instead of basic auth because of security issues. I won't put them in public here, but I can explain them to you in a private message.