Unit test works through login and logout, but db still messed up there