Refactor OAuth2 tests to split into multiple test files