Properly declare oauth2 migration dependency.