Fix header dropdown sign in form style

This is a partial fix to the responsive header behavior. Refers to #1837 #1816 and #1697