Write auth data to session