Fix condition for header buttons
Since the role refers to a room and is updated more accurate, checking the role makes more sense here.
Currently this leads to an incorrect state in header when user has been navigated to login page:
Related !1775 (merged)