Cleanup of AuthenticationHandler