Persist authentication to local storage