Fixed Unit Tests
Added user login and session cookie tests (and a couple helper methods)