refactored integration test

* basic auth client app credentials are generated in test
* increased timeout