Is it possible to get the credentials from FWP?
I have gotten another problem.
When I include the username and password to the url, it happens that the maximal execution time error occures. I tried to add the timeout argument to the wp_remote_get function with the value 120 but after 30 seconds the error comes up from wp-includes.