authentication + integration tests