Bug 1697 - Restructed function control flow to aviod branching across initialization.
## this tests that auth of type EXTERNAL without credentials will failSERVERSEND 'AUTH SYMBIAN_DBUS_PLATFORM_SECURITY 20'EXPECT_COMMAND ERROREXPECT_STATE WAITING_FOR_INPUT