Issue #5695: Modify the login compatibility

Modify the login compatibility