fix bug 1055870 - always overwrite provider session variable during social sign-in

@groovecoder adds 43 lines of test code to fix 3 lines of functional code.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1055870#c4 for spot-check instructions.