better login emulation in static pages controller spec