added some integration test for oauth2provider.server.main alias to be checked
Refactor to more apporiate checks