Compares authcodes