adds tests for form params and basic auth