Add authentication tests to js framework.