Issue #343 start of fix to make CHAP login via user pages work again (more to do)