Bug 1091261 - Implement login 3.0

port 5001, not 5000