Less markup-specific login check