How to auto join my hidden SSID home network from my iPhone on iOS5
Apple recommends not using hidden SSID's. There's no security in hiding them and as you have found out, it causes a problem with iOS devices discovering and joining the network after they come out of sleep mode.