Maven Proxy credentials settings not used

In method getRootWebResource of class AbstractPhoneGapBuildMojo, proxy credentials are not used.
Instead the Phonegap Build server credentials are used which fails when building behind a proxy.