Clean up initial session creation and auto-login