Convert LogonSpec to Scala

Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>