Misc fixes - all sample apps works mostly (a couple bugs: logout immediately following login goes to approve/deny screen, hybrid app reload on resume)