Clear local storage if error from login