Make login work (no unit tests).