fixes for login portlet