Test Login, Add Authorization Checking, Fix tests to allow auth, add /logout