Package testutil provides a default Kontrol kites for using in tests.
NewKiteKey returns a new generated kite key. (Copied and modified from kontrol.go) If the host does not have a kite.key file kite.New() panics. This is a helper to put a fake key on it's location.
NewKiteKeyUsername is like NewKiteKey() but it uses the given username instead of using the "testuser" name
NewToken creates new JWT token for the gien username. It embedds the given public key as kontrolKey and signs the token with the private one.