Right now there are three copies of activate_session_id. This commit consolidates the code to gdm-common.c