I got it solved:
The SugarCRM website was configured to use basic http authentication. The plugin did not cope with this. Everything worked when I tested without the authentication.
A tip to the developers: you might want to add a request that checks for the authentication and the script pops up an authentication window, if needed. Not a biggie addition.