Fix occasional LoginRequiredException at the end of login
Fix occasional LoginRequiredException at the end of login

Saves tokens to the session before reinitializing the API client object

platformsh/platformsh-cli,pjcdawkins/platformsh-cli,pjcdawkins/platformsh-cli,platformsh/platformsh-cli,platformsh/platformsh-cli,pjcdawkins/platformsh-cli