Fix LTIBasic authentication module to properly handle xmlrpc calls
Minor code cleanup (related to xmlrpc authentications)
Tolerate undefined LMS roles after the first alternative given.
Merge pull request #518 from paulvojta/develop

Fix LTIBasic authentication to handle xmlrpc calls correctly

I tested this out and after the change I can now use the library browser when authenticating via lti.