[EXT-248] Pass user to wp_login correctly.

this also cleaned up some trailing whitespaces
Merge pull request #2 from janrain/EXT-248

[EXT-248] Pass user to wp_login correctly.