Fixes #1172

Fixes a typo that set user timezone empty no matter what the user chooses at registration. 

It also now uses the default timezone if the user doesn't select a timezone. e.g. You select "GMT" when registering, it just uses `$cfg['defaulttimezone']`. I wasn't sure if this is something desired.