Fix nonce issues

Nonce issues came up when requests were made in the same second. Nonce generation was changed to be based on microseconds.