fix prefs saving password as username
adding md5 auth headers to rawSmapRequest
Added FormList for adding new survey definitions. Added DEV endpoint to bypass digest auth