alt-logins: added conditional in template instead of sending in a display class