More phpBB auth fixes, ugh

I can't test this locally very well