Fix bug in WebLogin Snippet

Bug caused API function getLoginUserID to return the wrong user ID.