We can do it in two ways.
Just type the url : http://siteurl/_layouts/closeConnection.aspx?loginasanotheruser=true
In your sharepoint server installed Server:
- Go to path: C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES
- In that file you will find Welcome.ascx file.
- Open the file with Notepad and add the below code exactly before the tag.ID_RequestAcess
- Just Refresh after the change is done.