Hide or show authentication links depending on status

Signed-off-by: Alan Gardner <alan@armoin.com>