Add login navbar directive, get a few useful tests working.