Added Authentication module and added authentication for the 'restart'-command. Minor bugfixes in SMSGW.