* GH-3090: Add `logout() to `FtpSession.close()` Fixes https://github.com/spring-projects/spring-integration/issues/3090 Without `logout()` the FTP session is not closed at all, but just the connection is closed. Some FTP servers close those sessions eventually anyway, but some just leak with resources. **Cherry-pick to 5.1.x & 4.3.x** * * Migrate `SessionFactoryTests` to JUnit 5