Fixed jshint errors
Fixed broken password reset test