Every association may purchase real estate loans upon security of the same character against which the association may make an original loan and also may lend money on the security of such real estate loans.