Update method for logging in.

Dropbox now an ajax login form which requires another parameter (specifically a token).