Fix the query for discovery with current user

/to @bajtos 

See https://github.com/strongloop/loopback-connector-mysql/issues/22