Fixed integration test setup, and cleaned up passport config so that a user is completely logged out and redirected.