Add auth setup to network connection in test app