WiFi has worked without issue before on this exact same hotspot, and it is currently working for other devices so I'm assuming the error is in the phone (edit: also tried another hotspot, wifi is definitely dead), but after enabling encryption on my device it gets stuck in a loop. It detects the actual network, but it goes like this:
Saved with X authentication... Authenticating... Obtaining IP address... (Repeat)
I also tried deleting the network and adding it again without success, thinking it had something to do with the cached WPA key. Is there anything I can do to troubleshoot before I just wipe and reinstall? Is this some kind of known issue?
edit: "Solution" Re-locked and unlocked bootloader, flashed recovery via Galaxy Nexus Toolkit and pushed a new AOKP via ADB, installed it and everything is working fine now. No idea what caused it but I'm pretty sure the full device encryption screwed something up. However, since CWM doesn't even support full device encryption, it feels like a bug relating to it is kind of low priority since people shouldn't encrypt their devices with customs ROMs anyway and expect a smooth ride. Thanks.

adb logcatfor error messages. You don't need to install the entire SDK for this: The ADB Guide on AndroidForums contains a "MiniSDK" (Linux, Mac, Windows versions) to download which should be fully sufficient for this. Report back then with conrete error messages. – Izzy Jan 31 at 12:55E/DhcpStateMachine( 1029): DHCP failed on wlan0: Timed out waiting for dhcpcd to start– bigbadonk420 Jan 31 at 16:49