Correcting the request for arguments, when logging in a user via a function call. Specifically, fixes the issue where the user was not being logged in automatically, if the Users module was configured as such.
Merge pull request #1481 from shefik/user_login_arguments

Correcting the request for arguments, when logging in a user via a function call.