Fixed unauthorized access issue

Fixed unauthorized access issue when requesting service may respond with
HTML for Login page table is filled up with empty records.