Added nonce to auth stuff