add verify reset code to client api

@ckarlof r?