`eager_load` preserves readonly flag for associations

Closes #15853

I changed `join_dependency` to pass test in 5706d290b0a2501a713fadfb76d9e45c24d26e6a.
@senny Please check this PR.