I agree with radio_flyer and wi_fighter that your husband doesn't seem severely depressed if he is able to go bike riding with his friends. And I totally sympathise with how frustrating and scary this is for you.....
I wouldn't write him off as having an "attitude problem" though.... Maybe he does have some additional issues on top of (or underlying) the depression. (Who are we to diagnose anyone anyway online

) Hopefully the energy he had for the bike ride will translate into him behaving like an adult around the house soon..... if not, I am not sure what to suggest apart for more therapy for him....
Thinking of you ((((( LMo )))))