Login when password(not userName) is available. Enables the possibility ...

...to login using other user identifiers, e.g user-id

Currently I'm integrating AJAX-Chat into a site via an iframe. Login is done using the `userID` and `password`. Would need to supply an additional parameter e.g `login=true` without this change.