Fix the query for discovery with current user

See https://github.com/strongloop/loopback-connector-mysql/issues/22
Merge pull request #23 from strongloop/feature/fix-issue-22

Fix the query for discovery with current user