Steps to reproduce:
Start a server in offline mode
Try to connect to it from an online client.
Observe the online client being rejected by server.
Now, try to join with an offline client
Observe offline client can connect just fine.
Expected behavior:
Online players should be able to connect to an offline server.
Clones MC-253097 (which was marked as Incomplete)