Update login code.

It was wrong.