changed tests to use dataDir
replaced cookies with JWT tokens
refactored request handlers
reactivated POST tests
made supertest independ from dev server running
improved test suite