Finish authentication