Interim Manchester United manager Ole Gunnar Solskjaer believes team spirit was behind the side's ability to see out a 2-1 win over Brighton.