Fix worksheets when preview mode is active

Pull request https://github.com/codalab/codalab/pull/416 missed to validate the PREVIEW_WORKSHEETS flag. Fixed by changing typo. Additionally, blocked creation of worksheets from keyboard when user is not authenticated.