Fixed huge reauthentication bug present last year.