Proposed authentication and authorization improvements
Minor fixes for previous commit
Lot of fixes and updates. Fixes Remember Me feature

Lot of little fixes and updating CI3, but the main fix is in the
Remember Me feature as I have finally figured out how to do session
extension for CI3.