Text this: Solenoid Configurations and Gravitational Free Energy of the AdS–Melvin Spacetime