Fix to facebook login, the broken session detection
Merge branch 'v9' of github.com:chrisgraham/ocPortal into v10