Fix for pb_cat session only being set when not empty which was cauysing log in page not found errors
Sync git with phreesoft local copy