Update backbone.basicauth.js as a AMD module

Based on the code at https://github.com/amdjs/backbone/