write the session_nonce after successful authentication