fixing jshint findings for passport tests and the task controller