Fix null pointer exception with oauth signer