Fix null bug in RequestTokenFactory