Minor session_start() refactoring