fixed js-auth tests #869
Merge branch 'bugfixes/tokumx-1.4'