Fixes and improvements to browserID support