[webui] really login as king to test as king
[api] check verifymd5 with view=info after talking with mls

and refactor the code to be a class on its own instead of polluting the
package model