
Update `RestTemplateBuilder` to use a custom request factory to add authentication headers rather than an interceptor. Prior to this commit, the use of the `BasicAuthenticationInterceptor` interceptor could cause `OutOfMemoryError` whenever a large file is uploaded. See gh-17010