(bug 2288) move checkforusername to routing

This wasn't a true __rpc_... endpoint, now it is