Better handling of auth packets, but not done yet.