faster restriction listing for unauthenticated users
remember login after browser restart
made restriction list queries faster for logged-in users