Fixed use of variables in responses in session_login endpoint method.