Add displayAsPopup parameter for getLoginUrl

According issue #127 , make possible to set display=popup in the redirect login URL.