BugFix: Do not break if username (loginname) is passed as userid.
Merge pull request #3 from 4teamwork/mle-get-user-by-username

BugFix: Do not break if username (loginname) is passed as userid.