By using a non-root userid it works. So the problem was with using root in motp.conf. Sorry to bother the list with this but there is no mailing list for the mobile one-time-password project. - Gergely