Finishes authorization