Fix nonce not being saved as response is text not json from note api endpoint