Simplified code for going to login page

Change-Id: I0895eb866fe17abbe561eb546754faa621c999fb