Mahara logout should not kill session of Moodle while using xmlrpc.

Close the window after logout from mahara