Login controller tests. Global afterEach to clean up localstorage changes.