Set a credentials acquisition callback for this remote. If the remote is not available for anonymous access, then you must set this callback in order to provide credentials to the transport at the time of authentication failure so that retry can be performed.
The credentials acquisition callback to use (defaults to NULL)