Fix login site session creation