Added post authenticate and clear authentication event