CRM-13148 update another place to get contact id from url/ checksum/ ses...

...sion as appropriate. Change function signature in the few places it is called to make contact id mandatory, it was only optional because it was the last param