Make sure localStorage is recreated upon login and destroyed upon logout
Merge pull request #78 from krazemon/authtighten

Make sure localStorage is recreated upon login and destroyed upon logout