login: fix linter warnings

Signed-off-by: Gregory Meno <gmeno@redhat.com>

@karnan4ever @kmkanagaraj