Remove all legacy login mode (type=3) support.

All codes for type=3 login mode are removed.
Remove reference to legacy mode support in doc