fix reload call at logout (fixes #271)

Call reload() on the location object to include protocol information,
and force reloading from the server, not from browser cache.