Fixes password for range request loading
Merge pull request #3233 from yurydelendik/onpassword

Fixes password for range request loading
Bind chunk promises to avoid scope problems.
Merge pull request #3239 from brendandahl/scope-fix

Bind chunk promises to avoid scope problems.