Fixed broken auth of paypal rest API.