Error on unknown user

Also fixed 404 pages to carry https across correctly if applicable.