session: Remove a duplicate definition

And move gdm_session_cancel(); somewhere a bit related.

https://bugzilla.gnome.org/show_bug.cgi?id=726380