Handle authentication completion.