src/login.c: Bind session state info functions